package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Label;
import org.hxyjs.entity.LabelExample;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface LabelMapper {
    long countByExample(LabelExample example);

    int deleteByExample(LabelExample example);

    int deleteByPrimaryKey(String labno);

    int insert(Label record);

    String getMaxLabno();

    int insertSelective(Label record);

    List<Label> selectByExample(LabelExample example);

    List<Label> getLabelByPage(Map<String, Object> map);

    Label selectByPrimaryKey(String labno);

    int updateByExampleSelective(@Param("record") Label record, @Param("example") LabelExample example);

    int updateByExample(@Param("record") Label record, @Param("example") LabelExample example);

    int updateByPrimaryKeySelective(Label record);

    int updateByPrimaryKey(Label record);
}